@extends('layouts.console_header')

@section('title', '账号信息')

@section('resources')
    @parent
    <!-- css 文件 -->
<style>
	body{background: #f9f9f9;}
</style>
@endsection

@section('content')
<!--  html内容  -->
<section class="user_list">
	<p class="fz_14 account_title">
	    <a href="/console/index"><span style="color: #7f7f7f;">首页></span></a>
	    <a href="#"><span class="co_violet">账号信息</span></a>
    </p>
	<div class="account_cont">
		<p class="fz_18 my_acc">我的账号</p>
		<ul class="fz_14 my_infor">
			<li>
				<span>账号</span>
				<span>{{$mobile}}</span>
				<span class="co_orange">修改登录账号请联系管理员</span>
			</li>
			<li>
				<span>姓名</span>
				<span>{{$realname}}</span>
			</li>
			<li>
				<span>角色</span>
				<span>{{$rolename}}</span>
			</li>
		</ul>
		<div class="fz_14 account_local">
			<p class="fl">城市数据</p>
			@if(count($cityauth)>1)
                @foreach($cityauth as $list)
                    <span>{{$list}}</span>
                @endforeach
			@endif
		</div>
		<div class="account_power">
			<p class="account_power1">功能权限</p>
			@foreach($auth as $firstKey => $firstValue)
                <div class="account_yonghu">
                    <p class="fl account_yonghup">{{$firstKey}}</p>
                    <div class="account_yonghu_list fz_14">
                        @foreach($firstValue as $secondKey => $secondValue)
                            <div class="account_yonghu_list1">
                                <span class="fl" style="margin-right: 40px;">{{$secondKey}}</span>
                                @foreach($secondValue as $thirdKey => $thirdValue)
                                    <p class="fl">
                                        <span>{{$thirdValue}}</span>
                                    </p>
                                @endforeach
                            </div>
                        @endforeach
                    </div>
                </div>
            @endforeach

		</div>
	</div>
</section>
@endsection

@section('scriptResources')
    @parent
    <!-- js 文件-->

@endsection